package com.tyqx.hashchaindao.mapper;

import com.tyqx.hashchainbean.module.JZTAttachmentBusiness;
import com.tyqx.hashchainbean.module.JZTCodeCirculationAttachment;
import com.tyqx.hashchainbean.vo.JZTAttachmentBusinessVO;
import com.tyqx.hashchainbean.vo.JZTCodeCirculationAttachmentVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JZTCodeCirculationAttachmentMapper {


    public int addJZTCodeCirculationAttachment(JZTCodeCirculationAttachment jztCodeCirculationAttachment);

    public List<JZTCodeCirculationAttachmentVO> getJZTCodeCirculationAttachmentByBusiness(String businessOrderNumber);

    public List<JZTCodeCirculationAttachmentVO> grantGetJZTCodeCirculationAttachmentByBusiness(@Param("businessOrderNumber") String businessOrderNumber,@Param("userName") String userName);


    public Integer insertBatch(@Param("jztCodeCirculationAttachmentList")List<JZTCodeCirculationAttachment> jztCodeCirculationAttachmentList);
}
